package com.xzzz.irda.guardcat.client;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 客户端配置
 *
 * @author xzzz
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "xzzz.guardcat.client")
public class GuardcatClientProperties {

    /**
     * 监控服务器地址
     */
    private String serverUrl;

    /**
     * 应用版本
     */
    private String appVersion = "x.y.z";

    /**
     * 向服务器发送心跳的间隔
     */
    private Long heartbeatIntervalMs = 10000L;
}
